package com.mbc.common.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.common.data.CompanyDataList;
import com.mbc.common.entities.Company;
import com.mbc.common.param.CriteriaParams;

public interface CompanyDAO {
	public void create(Company entity)throws SQLException;
	public void update(Company entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public Company find(long key)throws SQLException;
	public CompanyDataList getList(CriteriaParams cri) throws SQLException;
	public ArrayList<Company> findAll()throws SQLException;
}
